package cn.com.dhcc.ddi.task.service.load.impl;

import cn.com.dhcc.app.core.exception.DaoException;
import cn.com.dhcc.app.core.exception.ServiceException;
import cn.com.dhcc.app.pub.core.consts.AppIocBean;
import cn.com.dhcc.ddi.datamapping.dao.DataMappingDao;
import cn.com.dhcc.ddi.datamapping.vo.DataMapping;
import cn.com.dhcc.ddi.datasource.dao.DataSourceDao;
import cn.com.dhcc.ddi.datasource.vo.DataSourceVo;
import cn.com.dhcc.ddi.task.service.Result;
import cn.com.dhcc.ddi.task.service.load.LDataSourceDBAbstract;
import cn.com.dhcc.ddi.task.vo.Task;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @日期：2016/11/18 9:19
 * @作者：张洪涛
 * @版权所有：东华软件
 * @版本：1.0
 */
@Service(AppIocBean.L_DATASOURCE_ORACLE_IMPL)
public class LDataSourceOracleImpl extends LDataSourceDBAbstract {
    @Override
    public Result loadData(Task task, String taskLogId) throws ServiceException {
        return  super.load(task,taskLogId,"sysdate");
    }
}
